﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Irrlicht.Net.Core
{
    public struct AABBox3D<T>
    {
        internal T minX;  
        internal T minY;
        internal T minZ;  
        internal T maxX;  
        internal T maxY;
        internal T maxZ;

        public T MinX
        {
            get
            {
                return minX;
            }

            set
            {
                minX = value;
            }
        }

        public T MinY
        {
            get
            {
                return minY;
            }

            set
            {
                minY = value;
            }
        }

        public T MinZ
        {
            get
            {
                return minZ;
            }

            set
            {
                minZ = value;
            }
        }

        public T MaxX
        {
            get
            {
                return maxX;
            }

            set
            {
                maxX = value;
            }
        }

        public T MaxY
        {
            get
            {
                return maxY;
            }

            set
            {
                maxY = value;
            }
        }

        public T MaxZ
        {
            get
            {
                return maxZ;
            }

            set
            {
                maxZ = value;
            }
        }

        public AABBox3D(T minX, T minY, T minZ, T maxX, T maxY, T maxZ)
        {
            this.minX = minX;
            this.minY = minY;
            this.minZ = minZ;
            this.maxX = maxX;
            this.maxY = maxY;
            this.maxZ = maxZ;
        }
    }
}
